package com.company;

import com.company.creature.Person;
import com.company.transport.Airship;
import com.company.transport.Automobile;

public class Main {

    public static void main(String[] args) {

        Person tom=new Person("tom");

        Airship tomAirship=new Airship("air1");
        Automobile tomAutomobile=new Automobile("automobile1");

        tom.driveTransport(tomAirship);
        tom.driveTransport(tomAutomobile);
    }
}
